package com.cargroup.bean;


public class Car {
    private Integer id;
    private double price;
    private String brand;
    private String type;
    private String number;
    private Boolean state;
//    private int uid;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Boolean getState() {
		return state;
	}
	public void setState(Boolean state) {
		this.state = state;
	}
	public Car(Integer id, double price, String brand, String type, String number, Boolean state) {
		super();
		this.id = id;
		this.price = price;
		this.brand = brand;
		this.type = type;
		this.number = number;
		this.state = state;
	}
	public Car() {
		super();
	}
	@Override
	public String toString() {
		return "Car [id=" + id + ", price=" + price + ", brand=" + brand + ", type=" + type + ", number=" + number
				+ ", state=" + state + "]";
	}

   
}
